package com.example.produces.mapper;

import com.example.produces.entity.Client;
import com.example.produces.entity.Fstock;
import com.example.produces.entity.Fwarehouse;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository//数据访问层 (DAO 层 ) 的类标识为bean
public interface FwarehouseMapper {
    List<Fwarehouse> findAll();
    void add(Fwarehouse fwarehouse);
    Fwarehouse findOne(String designation);
    void upDate(Fwarehouse fwarehouse);
    void delete(String designation);
}
